#!/usr/bin/env python
# -*- coding:utf8 -*-
# uncompyle6 version 2.15.1
# Python bytecode 2.7 (62211)
# Decompiled from: Python 2.7.10 (default, Jul  1 2017, 13:36:56) 
# [GCC 4.4.6 20110731 (Red Hat 4.4.6-4)]
# Embedded file name: ./esb/healthz/errors.py
# Compiled at: 2017-11-16 15:44:28


class CheckException(Exception):

    def __init__(self, message):
        self.message = message

    def __str__(self):
        if isinstance(self.message, unicode):
            return self.message.encode('utf-8')
        return self.message

    def get_message(self):
        return self.message
